//
//  HomeTransactHeadViewCollectionReusableView.m
//  ZJControlsClass
//
//  Created by mac on 2024/11/14.
//

#import "HomeTransactHeadViewCollectionReusableView.h"

@interface HomeTransactHeadViewCollectionReusableView ()


@end

@implementation HomeTransactHeadViewCollectionReusableView


- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self){
        
        [self addSubview:self.titleLabel];
        
        [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.equalTo(self.mas_centerY);
            make.left.equalTo(self).with.offset(ALIGN_WIDTH_PT(12));
        }];
        
        
        
        
        
    }
    return self;
}


-(UILabel *)titleLabel{
    if (!_titleLabel){
        _titleLabel = [UILabel new];
        _titleLabel.textColor = [UIColor blackColor];
        _titleLabel.font = [UIFont systemFontOfSize:16 weight:0.5];
        _titleLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _titleLabel;
}


@end


